<template>
  <div class="header">
    <div class="header-befor">
      当前位置：<span>{{ oneName }}</span
      >&nbsp;&nbsp;/&nbsp;&nbsp;<span>{{ twoMenu[twoIndex].label }}</span>
    </div>
  </div>
</template>

<script>
import { mapGetters } from "vuex";

export default {
  name: "Top",
  components: {
    // 第三方组件实例化
  },
  computed: {
    ...mapGetters(["twoMenu", "twoIndex", "oneName"])
  },
  methods: {
    // 方法
  },
  mounted() {}
};
</script>

<style scoped></style>
